<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <script src="js/react.js"></script>
    <script src="js/react-dom.js"></script>
    <script src="js/browser.min.js"></script>
</head>
<body>
<div id="example"></div>
<script type="text/babel">
    var HelloWorld = React.createClass({
        render: function() {
            return (
                    <p>
                        Hello, <input type="text" placeholder="Your name here" />!
                        It is {this.props.date.toTimeString()}
                    </p>
            );
        }
    });
    setInterval(function() {
        React.render(
                <HelloWorld date={new Date()} />,
                document.getElementById('example')
        );
    }, 500);
</script>
</body>
</html>